Directly view the source file: https://gist.github.com/Mashpoe/3d949824be514c43b58706eb29c33c43 In case you want to easily open this in Visual Studio: https://github.com/mashpoe/hypercube Paper: https://hollasch.github.io/ray4/Four-Space_Visualization_of_4D_Objects.html#chapter4